package com.ruoyi.common.core.domain.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

public class BasicsBody extends BaseEntity {


        private static final long serialVersionUID = 1L;

        /** 用户ID */
        private Long userId;

        /** 用户账号 */
        @Excel(name = "用户账号")
        private String userName;

        /** 密码 */
        @Excel(name = "密码")
        private String password;

        /** 手机号码 */
        @Excel(name = "手机号码")
        private String phonenumber;

        /** 用户性别（0男 1女 2未知） */
        @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
        private String sex;

        /** 用户昵称 */
        @Excel(name = "用户昵称")
        private String nickName;

        /** 用户邮箱 */
        @Excel(name = "用户邮箱")
        private String email;

        /** 头像地址 */
        @Excel(name = "头像地址")
        private String avatar;

        /** 年龄 */
        @Excel(name = "年龄")
        private Long age;

        /** 用户姓名 */
        @Excel(name = "用户姓名")
        private String name;

        /** 统一社会信用代码 */
        @Excel(name = "统一社会信用代码")
        private String regNum;

        /** 帐号状态（0正常 1停用） */
        @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
        private String status;

        /** 删除标志（0代表存在 2代表删除） */
        private String delFlag;

        /** 最后登录IP */
        @Excel(name = "最后登录IP")
        private String loginIp;

        /** 最后登录时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd")
        private Date loginDate;

        @Excel(name = "公司Id")
        private Long companyId;


    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String companyUrl;

    /** 联系人名称 */
    @Excel(name = "联系人名称")
    private String contactName;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    private String contactTel;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String companyAddress;

    /** 公司简介 */
    @Excel(name = "公司简介")
    private String companyInfo;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String licenceNum;

    /** 状态（0正常 1停用） */

    /** 数量 */
    private int total;
    //省市区
    private String province;
    private String city;
    private String area;

    private Long licenceId;

    private String licenceUrl;

    private Long contact_id;




    /** 公司名称 */
    @Excel(name = "公司名称")
    private String licenceName;

    /** 公司类型 */
    @Excel(name = "公司类型")
    private String licenceType;

    /** 公司法人 */
    @Excel(name = "公司法人")
    private String licencePerson;

    /** 公司注册日期 */
    @Excel(name = "公司注册日期")
    private String establishDate;

    /** 公司营业期限终止日期 */
    @Excel(name = "公司营业期限终止日期")
    private String validDate;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String licenceAddress;

    /** 注册资本 */
    @Excel(name = "注册资本")
    private String licenceCapital;

    /** 经营范围 */
    @Excel(name = "经营范围")
    private String licenceBusiness;

    public String getLicenceName() {
        return licenceName;
    }

    public void setLicenceName(String licenceName) {
        this.licenceName = licenceName;
    }

    public String getLicenceType() {
        return licenceType;
    }

    public void setLicenceType(String licenceType) {
        this.licenceType = licenceType;
    }

    public String getLicencePerson() {
        return licencePerson;
    }

    public void setLicencePerson(String licencePerson) {
        this.licencePerson = licencePerson;
    }

    public String getEstablishDate() {
        return establishDate;
    }

    public void setEstablishDate(String establishDate) {
        this.establishDate = establishDate;
    }

    public String getValidDate() {
        return validDate;
    }

    public void setValidDate(String validDate) {
        this.validDate = validDate;
    }

    public String getLicenceAddress() {
        return licenceAddress;
    }

    public void setLicenceAddress(String licenceAddress) {
        this.licenceAddress = licenceAddress;
    }

    public String getLicenceCapital() {
        return licenceCapital;
    }

    public void setLicenceCapital(String licenceCapital) {
        this.licenceCapital = licenceCapital;
    }

    public String getLicenceBusiness() {
        return licenceBusiness;
    }

    public void setLicenceBusiness(String licenceBusiness) {
        this.licenceBusiness = licenceBusiness;
    }

    public Long getContact_id() {
        return contact_id;
    }

    public void setContact_id(Long contact_id) {
        this.contact_id = contact_id;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyUrl() {
        return companyUrl;
    }

    public void setCompanyUrl(String companyUrl) {
        this.companyUrl = companyUrl;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactTel() {
        return contactTel;
    }

    public void setContactTel(String contactTel) {
        this.contactTel = contactTel;
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }

    public String getCompanyInfo() {
        return companyInfo;
    }

    public void setCompanyInfo(String companyInfo) {
        this.companyInfo = companyInfo;
    }

    public String getLicenceNum() {
        return licenceNum;
    }

    public void setLicenceNum(String licenceNum) {
        this.licenceNum = licenceNum;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public Long getLicenceId() {
        return licenceId;
    }

    public void setLicenceId(Long licenceId) {
        this.licenceId = licenceId;
    }

    public String getLicenceUrl() {
        return licenceUrl;
    }

    public void setLicenceUrl(String licenceUrl) {
        this.licenceUrl = licenceUrl;
    }

    public Long getCompanyId() {
            return companyId;
        }

        public void setCompanyId(Long companyId) {
            this.companyId = companyId;
        }


        public String getUserType() {
            return userType;
        }

        public void setUserType(String userType) {
            this.userType = userType;
        }

        private String userType;
        private String adress;










        public String getAdress() {
            return adress;
        }

        public void setAdress(String adress) {
            this.adress = adress;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }









        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        private String code;

        public void setUserId(Long userId)
        {
            this.userId = userId;
        }

        public Long getUserId()
        {
            return userId;
        }
        public void setUserName(String userName)
        {
            this.userName = userName;
        }

        public String getUserName()
        {
            return userName;
        }
        public void setPassword(String password)
        {
            this.password = password;
        }

        public String getPassword()
        {
            return password;
        }
        public void setPhonenumber(String phonenumber)
        {
            this.phonenumber = phonenumber;
        }

        public String getPhonenumber()
        {
            return phonenumber;
        }
        public void setSex(String sex)
        {
            this.sex = sex;
        }

        public String getSex()
        {
            return sex;
        }
        public void setNickName(String nickName)
        {
            this.nickName = nickName;
        }

        public String getNickName()
        {
            return nickName;
        }
        public void setEmail(String email)
        {
            this.email = email;
        }

        public String getEmail()
        {
            return email;
        }
        public void setAvatar(String avatar)
        {
            this.avatar = avatar;
        }

        public String getAvatar()
        {
            return avatar;
        }
        public void setAge(Long age)
        {
            this.age = age;
        }

        public Long getAge()
        {
            return age;
        }
        public void setName(String name)
        {
            this.name = name;
        }

        public String getName()
        {
            return name;
        }
        public void setRegNum(String regNum)
        {
            this.regNum = regNum;
        }

        public String getRegNum()
        {
            return regNum;
        }
        public void setStatus(String status)
        {
            this.status = status;
        }

        public String getStatus()
        {
            return status;
        }
        public void setDelFlag(String delFlag)
        {
            this.delFlag = delFlag;
        }

        public String getDelFlag()
        {
            return delFlag;
        }
        public void setLoginIp(String loginIp)
        {
            this.loginIp = loginIp;
        }

        public String getLoginIp()
        {
            return loginIp;
        }
        public void setLoginDate(Date loginDate)
        {
            this.loginDate = loginDate;
        }



        public Date getLoginDate()
        {
            return loginDate;
        }




        @Override
        public String toString() {
            return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                    .append("userId", getUserId())
                    .append("userName", getUserName())
                    .append("password", getPassword())
                    .append("phonenumber", getPhonenumber())
                    .append("sex", getSex())
                    .append("nickName", getNickName())
                    .append("email", getEmail())
                    .append("avatar", getAvatar())
                    .append("age", getAge())
                    .append("name", getName())
                    .append("regNum", getRegNum())
                    .append("status", getStatus())
                    .append("delFlag", getDelFlag())
                    .append("loginIp", getLoginIp())
                    .append("loginDate", getLoginDate())
                    .append("createBy", getCreateBy())
                    .append("createTime", getCreateTime())
                    .append("updateBy", getUpdateBy())
                    .append("updateTime", getUpdateTime())
                    .append("remark", getRemark())
                    .append("companyId", getCompanyId())
                    .append("companyName", getCompanyName())
                    .append("companyUrl", getCompanyUrl())
                    .append("contactName", getContactName())
                    .append("contactTel", getContactTel())
                    .append("companyAddress", getCompanyAddress())
                    .append("companyInfo", getCompanyInfo())
                    .append("licenceNum", getLicenceNum())
                    .append("status", getStatus())
                    .append("delFlag", getDelFlag())
                    .append("province", getProvince())
                    .append("city", getCity())
                    .append("area", getArea())
                    .append("contact_id", getContact_id())
                    .append("licenceId", getLicenceId())
                    .append("licenceUrl", getLicenceUrl())
                    .append("licenceId", getLicenceId())
                    .append("licenceUrl", getLicenceUrl())
                    .append("licenceNum", getLicenceNum())
                    .append("licenceName", getLicenceName())
                    .append("licenceType", getLicenceType())
                    .append("licencePerson", getLicencePerson())
                    .append("establishDate", getEstablishDate())
                    .append("validDate", getValidDate())
                    .append("licenceAddress", getLicenceAddress())
                    .append("licenceCapital", getLicenceCapital())
                    .append("licenceBusiness", getLicenceBusiness())
                    .toString();


    }

}
